ColorManagement Xojo Plugin

ICCColorProfile.FromFile Method

Creates instance of the ICCColorProfile class from a file that contains ICC color profile.

shared FromFile(
   f as FolderItem) as ICCColorProfile

Parameters

f
The file to open.

Returns

ICCColorProfile
The instance of the ICCColorProfile or nil if Error was detected. (Note in some cases error would not be detected if you feed trash file to it)

Remarks

Usually the file ending would be .icc.

See Also

ICCColorProfile Class